package com.wtwd.campus.model.dto;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author mjy
 * @date 2022/12/21
 * @description
 */
public class QueryAppDisAbleStateDto {

    @ApiModelProperty(value = "app主键id")
    private Integer id;

    @ApiModelProperty(value = "设备id")
    private Integer deviceId;

    @ApiModelProperty(value = "包名,用于设备标识app的唯一标识")
    private String packageName;

    @ApiModelProperty(value = "app类型1:系统app,2应用市场app")
    private int type;

    @ApiModelProperty(value = "app名称")
    private String name;

    @ApiModelProperty(value = "app禁用开关0-关闭 1-打开,2待关闭，3待打开,4执行失败;")
    private String appDisableFlag;

    @ApiModelProperty(value = "自定义设备禁用时间")
    private List<AppDisableTimeDto> appDisableTimes;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAppDisableFlag() {
        return appDisableFlag;
    }

    public void setAppDisableFlag(String appDisableFlag) {
        this.appDisableFlag = appDisableFlag;
    }

    public List<AppDisableTimeDto> getAppDisableTimes() {
        return appDisableTimes;
    }

    public void setAppDisableTimes(List<AppDisableTimeDto> appDisableTimes) {
        this.appDisableTimes = appDisableTimes;
    }

    @Override
    public String toString() {
        return "QueryAppDisAbleStateDto{" +
                "id=" + id +
                ", deviceId=" + deviceId +
                ", packageName='" + packageName + '\'' +
                ", type=" + type +
                ", name='" + name + '\'' +
                ", appDisableFlag='" + appDisableFlag + '\'' +
                ", appDisableTimes=" + appDisableTimes +
                '}';
    }
}
